package cn.sfrog.project.biz.admin.enums;


public enum MessageTypeEnum {
    /** 消息类型 **/
    CHECK_HEART("0", "心跳"),
    TEXT("1", "文字"),
    IMAGE("2", "图片"),
    FILE("3", "文件");

    private final String code;
    private final String name;


    MessageTypeEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public String getCode() {
        return code;
    }
}
